﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master"
  CodeBehind="frmDashboard.aspx.vb" Inherits="Lourdes.UI.Web.frmDashboard" %>

<%@ Register Assembly="Infragistics4.WebUI.Misc.v10.2, Version=10.2.20102.1011, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
  Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %>
<%@ Register Assembly="Infragistics4.WebUI.UltraWebChart.v10.2, Version=10.2.20102.1011, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
  Namespace="Infragistics.WebUI.UltraWebChart" TagPrefix="igchart" %>
<%@ Register Assembly="Infragistics4.WebUI.UltraWebChart.v10.2, Version=10.2.20102.1011, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
  Namespace="Infragistics.UltraChart.Resources.Appearance" TagPrefix="igchartprop" %>
<%@ Register Assembly="Infragistics4.WebUI.UltraWebChart.v10.2, Version=10.2.20102.1011, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
  Namespace="Infragistics.UltraChart.Data" TagPrefix="igchartdata" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  <asp:ScriptManager ID="ScriptManager1" runat="server" />
  <h2>
    Principales Indicadores de Negocio
  </h2>
  <table style="width: 100%">
    <tr>
      <td style="width: 50%; text-align: center">
        <asp:UpdatePanel ID="upVentas" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">
          <ContentTemplate>
            <h3>
              <label>
                Ventas
              </label>
              <asp:DropDownList ID="cmbVentas" runat="server" AutoPostBack="True">
                <asp:ListItem Value="dia">Hoy</asp:ListItem>
                <asp:ListItem Value="semana">Última Semana</asp:ListItem>
                <asp:ListItem Value="mes" Selected="True">Último Mes</asp:ListItem>
              </asp:DropDownList>
            </h3>
            <asp:UpdateProgress ID="uproVentas" DynamicLayout="true" runat="server" AssociatedUpdatePanelID="upVentas"
              DisplayAfter="0">
              <ProgressTemplate>
                <asp:Image ID="imgAjax" ImageUrl="~/Images/ajax-01.gif" runat="server" />
              </ProgressTemplate>
            </asp:UpdateProgress>
            <igchart:UltraChart ID="ucVentas" runat="server" BackgroundImageFileName="" ChartType="LineChart"
              EmptyChartText="No hay datos disponibles para el período seleccionado." Height="285px"
              Version="10.2" ViewStateMode="Enabled" Width="450px">
              <Legend SpanPercentage="0">
                <Margins Bottom="0" Left="0" Right="0" Top="0" />
              </Legend>
              <Effects>
                <Effects>
                  <igchartprop:GradientEffect />
                </Effects>
              </Effects>
              <Annotations Visible="False">
              </Annotations>
              <Data>
                <EmptyStyle>
                  <PointStyle CharacterFont="Microsoft Sans Serif, 7.8pt" />
                </EmptyStyle>
              </Data>
              <TitleTop Font="Microsoft Sans Serif, 20.25pt" HorizontalAlign="Center" Text="Ventas">
              </TitleTop>
              <TitleRight Visible="True">
              </TitleRight>
              <TitleBottom ClipText="False" Visible="False">
              </TitleBottom>
              <ColorModel AlphaLevel="150" ColorBegin="Pink" ColorEnd="DarkRed" ModelStyle="CustomLinear">
              </ColorModel>
              <LineChart Thickness="5">
              </LineChart>
              <Axis>
                <PE ElementType="None" Fill="Cornsilk" />
                <X Extent="50" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="&lt;ITEM_LABEL&gt;"
                    Orientation="VerticalLeftFacing" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
                      Orientation="VerticalLeftFacing" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X>
                <Y Extent="40" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Far" ItemFormatString="&lt;DATA_VALUE:$00.##&gt;"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Far"
                      Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y>
                <Y2 LineThickness="1" TickmarkInterval="40" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString="&lt;DATA_VALUE:00.##&gt;"
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y2>
                <X2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Far" ItemFormatString="&lt;ITEM_LABEL&gt;"
                    Orientation="VerticalLeftFacing" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Far"
                      Orientation="VerticalLeftFacing" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X2>
                <Z LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z>
                <Z2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z2>
              </Axis>
              <Tooltips FormatString="Día: &lt;ITEM_LABEL&gt; - Ventas: &lt;DATA_VALUE:00.##&gt;" />
            </igchart:UltraChart>
          </ContentTemplate>
        </asp:UpdatePanel>
      </td>
      <td style="width: 50%; text-align: center">
        <asp:UpdatePanel ID="upVendedores" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">
          <ContentTemplate>
            <h3>
              <label>
                Ventas de vendedores
              </label>
              <asp:DropDownList ID="cmbVendedores" runat="server" AutoPostBack="True">
                <asp:ListItem Value="dia">Hoy</asp:ListItem>
                <asp:ListItem Value="semana">Última Semana</asp:ListItem>
                <asp:ListItem Value="mes" Selected="True">Último Mes</asp:ListItem>
              </asp:DropDownList>
            </h3>
            <asp:UpdateProgress ID="uproVendedores" DynamicLayout="true" runat="server" AssociatedUpdatePanelID="upVendedores"
              DisplayAfter="0">
              <ProgressTemplate>
                <asp:Image ID="imgAjax2" ImageUrl="~/Images/ajax-01.gif" runat="server" />
              </ProgressTemplate>
            </asp:UpdateProgress>
            <igchart:UltraChart ID="ucVendedores" runat="server" BackgroundImageFileName="" ChartType="PieChart"
              EmptyChartText="No hay datos disponibles para el período seleccionado." Height="285px"
              Version="10.2" Width="450px">
              <Legend SpanPercentage="0">
                <Margins Bottom="0" Left="0" Right="0" Top="0" />
              </Legend>
              <Effects>
                <Effects>
                  <igchartprop:GradientEffect />
                </Effects>
              </Effects>
              <Annotations Visible="False">
              </Annotations>
              <Data>
                <EmptyStyle>
                  <PointStyle CharacterFont="Microsoft Sans Serif, 7.8pt" />
                </EmptyStyle>
              </Data>
              <TitleTop Font="Microsoft Sans Serif, 20.25pt" HorizontalAlign="Center" Text="Ventas">
              </TitleTop>
              <TitleRight Visible="True">
              </TitleRight>
              <TitleBottom ClipText="False" Visible="False">
              </TitleBottom>
              <ColorModel AlphaLevel="150" ColorBegin="Pink" ColorEnd="DarkRed" ModelStyle="CustomLinear">
              </ColorModel>
              <Axis>
                <PE ElementType="None" Fill="Cornsilk" />
                <X Extent="50" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="&lt;ITEM_LABEL&gt;"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X>
                <Y Extent="40" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="&lt;DATA_VALUE:00.##&gt;"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y>
                <Y2 LineThickness="1" TickmarkInterval="40" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y2>
                <X2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X2>
                <Z LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z>
                <Z2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z2>
              </Axis>
              <Tooltips FormatString="Día: &lt;ITEM_LABEL&gt; - Ventas: &lt;DATA_VALUE:00.##&gt;" />
            </igchart:UltraChart>
          </ContentTemplate>
        </asp:UpdatePanel>
      </td>
    </tr>
    <tr>
      <td style="width: 50%; text-align: center">
        <asp:UpdatePanel ID="upMerca" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">
          <ContentTemplate>
            <h3>
              <label>
                Mercaderías más vendidas
              </label>
              <asp:DropDownList ID="cmbMerca" runat="server" AutoPostBack="True">
                <asp:ListItem Value="dia">Hoy</asp:ListItem>
                <asp:ListItem Value="semana">Última Semana</asp:ListItem>
                <asp:ListItem Value="mes" Selected="True">Último Mes</asp:ListItem>
              </asp:DropDownList>
            </h3>
            <asp:UpdateProgress ID="uproMerca" DynamicLayout="true" runat="server" AssociatedUpdatePanelID="upMerca"
              DisplayAfter="0">
              <ProgressTemplate>
                <asp:Image ID="imgAjaxMerca" ImageUrl="~/Images/ajax-01.gif" runat="server" />
              </ProgressTemplate>
            </asp:UpdateProgress>
            <igchart:UltraChart ID="ucMerca" runat="server" BackgroundImageFileName="" ChartType="PieChart"
              EmptyChartText="No hay datos disponibles para el período seleccionado." Height="285px"
              Version="10.2" Width="450px">
              <Legend SpanPercentage="0">
                <Margins Bottom="0" Left="0" Right="0" Top="0" />
              </Legend>
              <Effects>
                <Effects>
                  <igchartprop:GradientEffect />
                </Effects>
              </Effects>
              <Annotations Visible="False">
              </Annotations>
              <Data>
                <EmptyStyle>
                  <PointStyle CharacterFont="Microsoft Sans Serif, 7.8pt" />
                </EmptyStyle>
              </Data>
              <TitleTop Font="Microsoft Sans Serif, 20.25pt" HorizontalAlign="Center" Text="Ventas">
              </TitleTop>
              <TitleRight Visible="True">
              </TitleRight>
              <TitleBottom ClipText="False" Visible="False">
              </TitleBottom>
              <ColorModel AlphaLevel="150" ColorBegin="Pink" ColorEnd="DarkRed" ModelStyle="CustomLinear">
              </ColorModel>
              <Axis>
                <PE ElementType="None" Fill="Cornsilk" />
                <X Extent="50" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="&lt;ITEM_LABEL&gt;"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X>
                <Y Extent="40" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="&lt;DATA_VALUE:00.##&gt;"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y>
                <Y2 LineThickness="1" TickmarkInterval="50" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y2>
                <X2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X2>
                <Z LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z>
                <Z2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z2>
              </Axis>
              <Tooltips FormatString="Día: &lt;ITEM_LABEL&gt; - Ventas: &lt;DATA_VALUE:00.##&gt;" />
            </igchart:UltraChart>
          </ContentTemplate>

        </asp:UpdatePanel>
      </td>
      <td style="width: 50%; text-align: center">
        <asp:UpdatePanel ID="upClientes" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional">
          <ContentTemplate>
            <h3>
              <label>
                Clientes más compradores
              </label>
              <asp:DropDownList ID="cmbClientes" runat="server" AutoPostBack="True">
                <asp:ListItem Value="dia">Hoy</asp:ListItem>
                <asp:ListItem Value="semana">Última Semana</asp:ListItem>
                <asp:ListItem Value="mes" Selected="True">Último Mes</asp:ListItem>
              </asp:DropDownList>
            </h3>
            <asp:UpdateProgress ID="uproClientes" DynamicLayout="true" runat="server" AssociatedUpdatePanelID="upClientes"
              DisplayAfter="0">
              <ProgressTemplate>
                <asp:Image ID="imgAjaxClientes" ImageUrl="~/Images/ajax-01.gif" runat="server" />
              </ProgressTemplate>
            </asp:UpdateProgress>
            <igchart:UltraChart ID="ucClientes" runat="server" BackgroundImageFileName="" ChartType="PieChart"
              EmptyChartText="No hay datos disponibles para el período seleccionado." Height="285px"
              Version="10.2" Width="450px">
              <Legend SpanPercentage="0">
                <Margins Bottom="0" Left="0" Right="0" Top="0" />
              </Legend>
              <Effects>
                <Effects>
                  <igchartprop:GradientEffect />
                </Effects>
              </Effects>
              <Annotations Visible="False">
              </Annotations>
              <Data>
                <EmptyStyle>
                  <PointStyle CharacterFont="Microsoft Sans Serif, 7.8pt" />
                </EmptyStyle>
              </Data>
              <TitleTop Font="Microsoft Sans Serif, 20.25pt" HorizontalAlign="Center" Text="Ventas">
              </TitleTop>
              <TitleRight Visible="True">
              </TitleRight>
              <TitleBottom ClipText="False" Visible="False">
              </TitleBottom>
              <ColorModel AlphaLevel="150" ColorBegin="Pink" ColorEnd="DarkRed" ModelStyle="CustomLinear">
              </ColorModel>
              <Axis>
                <PE ElementType="None" Fill="Cornsilk" />
                <X Extent="50" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="&lt;ITEM_LABEL&gt;"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X>
                <Y Extent="40" LineThickness="1" TickmarkInterval="0" Visible="True">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString="&lt;DATA_VALUE:00.##&gt;"
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y>
                <Y2 LineThickness="1" TickmarkInterval="50" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Y2>
                <X2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" FormatString="" HorizontalAlign="Near"
                      Orientation="Horizontal" VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </X2>
                <Z LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="DimGray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z>
                <Z2 LineThickness="1" TickmarkInterval="0" TickmarkStyle="Smart" Visible="False">
                  <MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"
                    Visible="True" />
                  <MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"
                    Visible="False" />
                  <Labels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" ItemFormatString=""
                    Orientation="Horizontal" VerticalAlign="Center" Visible="False">
                    <SeriesLabels Font="Verdana, 7pt" FontColor="Gray" HorizontalAlign="Near" Orientation="Horizontal"
                      VerticalAlign="Center">
                      <Layout Behavior="Auto">
                      </Layout>
                    </SeriesLabels>
                    <Layout Behavior="Auto">
                    </Layout>
                  </Labels>
                </Z2>
              </Axis>
              <Tooltips FormatString="Día: &lt;ITEM_LABEL&gt; - Ventas: &lt;DATA_VALUE:00.##&gt;" />
            </igchart:UltraChart>
          </ContentTemplate>

        </asp:UpdatePanel>
      </td>
    </tr>
  </table>
</asp:Content>
